<?php
	error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
	require_once 'include/inc.config.php';
	require_once WACT_ROOT.'common.inc.php';
	require_once WACT_ROOT.'controller/pathinfo.inc.php';

    require_once APP_CTRL_ROOT . 'adm/admin_controller.php';

	class MyAdminRootController extends RootAdminController {

		function MyAdminRootController() {
        	parent::RootAdminController();
            $this->addChild('index',   new Handle(APP_CTRL_ROOT . 'adm/teamstats/teams/index.page.php|TeamsIndexPage'));
			$this->addChild('edit',   new Handle(APP_CTRL_ROOT . 'adm/teamstats/teams/edit.page.php|TeamsEditPage'));
			$this->addChild('delete',   new Handle(APP_CTRL_ROOT . 'adm/teamstats/teams/delete.page.php|TeamsDeletePage'));
			$this->addChild('create',   new Handle(APP_CTRL_ROOT . 'adm/teamstats/teams/create.page.php|TeamsCreatePage'));
			$this->addChild('activate',   new Handle(APP_CTRL_ROOT . 'adm/teamstats/teams/activate.page.php|TeamsActivatePage'));
			$this->addChild('deactivate',   new Handle(APP_CTRL_ROOT . 'adm/teamstats/teams/deactivate.page.php|TeamsDeactivatePage'));

			$this->setDefaultChild('index');

		}

	}

$Front =& new MyAdminRootController();
$Front->start();





?>